function a(a, b) {
    l = $(".container").offset().left, w = $(".container").width(), $(".toTop").css("left", l + w + a + "px"), $(".toTop").css("bottom", b + "px")
}

$(document).ready(function () {
    $("a").bind("focus", function () {
        this.blur && this.blur()
    })
}), $(function () {
    $('<a href="javascript:void(0)" class="icon-zhiding toTop text-large radius-big" title="返回顶部" alt="返回顶部" style="display:none"></a>').appendTo($("body")).click(function () {
        $("html, body").animate({scrollTop: 0}, 120)
    }), a(20, 20), $(window).scroll(function () {
        var a = $(document).scrollTop();
        a > 172 ? ($("#fixednav").removeClass("hidden"), $("#fixednav").slideDown(), $(".toTop").show()) : ($("#fixednav").hide(), $(".toTop").hide())
    }), $(window).resize(function () {
        a(10, 10)
    });
    let c = "https://sp0.baidu.com/5a1Fazu8AA54nxGko9WTAnF6hhy/su?p=3&cb=?";

    $(".wd").autocomplete(c, {
        scroll: !1, selectFirst: !1, dataType: "jsonp", parse: function (a) {
            var b, c;
            if (null == a || "undefined" == typeof a || 0 == a.length) return null;
            for (a = a.s, b = [], c = 0; c < a.length; c++) b[b.length] = {data: a[c], value: a[c], result: a[c]};
            return b
        }, formatItem: function (a) {
            return "<p>" + a + "</p>"
        }
    }), $(".wd").result(function (a, b) {
        $(".wd").val(b)
    }), $("#J_commend").goList()
}), function (a) {
    a.fn.goList = function (b) {
        var f, g, h, i, j, k, l, c = {}, d = {
            fold: ".fold",
            unfold: ".unfold",
            crtNum: 0,
            inited: !1,
            hoverDuring: 50,
            defaultTab: 0,
            callBackEvent: function () {
                a.noop()
            }
        };
        return c = a.extend({}, d, b), f = 0, g = this.find(c.fold), h = this.find(c.unfold), i = function () {
            c.crtNum = f, h.each(function (b) {
                0 === b && a(this).show()
            }), j(c.crtNum), c.inited = !0
        }, j = function (a) {
            a !== c.crtNum && c.inited && (g.eq(c.crtNum).show(), h.eq(c.crtNum).hide()), "undefined" !== a && (g.eq(a).hide(), h.eq(a).show()), c.crtNum = a
        }, k = function () {
            g.hover(function () {
                var a = g.index(this);
                hoverTimer = setTimeout(function () {
                    j(a)
                }, c.hoverDuring)
            }, function () {
                clearTimeout(hoverTimer)
            })
        }, l = function () {
            i(), k()
        }, l(), this
    }
}(jQuery);